I am having trouble figuring out how to find the domains an example problem is p(x)=2x-2

R (real numbers as x can equal anything

p(x)=2x-2

give different values for x and find p(X).Then x =domain,& p(X)=co domain

example if x=1`,then p(X)=2.1 -2=0
x=2. thenP(X)=2.2-2= 2

in this case is domain is 1,2

codomain is 0,2

that is 1 mapped to zero
2 mapped to 2

hope it is clear?

To find the domain of the given function, p(x) = 2x - 2, you need to determine the set of all possible values for x that the function can take.

In this case, there are no restrictions or limitations on the domain of p(x). The function p(x) is a linear function, which means it is defined for all real numbers.

Therefore, the domain of p(x) = 2x - 2 is (-∞, ∞), which represents all real numbers.