#### To determine

**To find:** The equation of the tangent line to the curve at the point.

#### Answer

The equation of the tangent line to the curve y=|x|2−x2 at (1,1) is y=2x−1_.

#### Explanation

**Given:**

The function is y=|x|2−x2 and the point is (1,1).

**Result used:**

**The Power Rule combined with the Chain Rule:**

If *n* is any real number and g(x) is differentiable function, then

ddx[g(x)]n=n[g(x)]n−1g′(x) (1)

**Quotient Rule:**

If f(x). and g(x) are both differentiable function, then

ddx[f(x)g(x)]=g(x)ddx[f(x)]−f(x)ddx[g(x)][g(x)]2 (2)

**Formula used:**

The equation of the tangent line at (x1,y1) is, y−y1=m(x−x1) (3)

where, *m* is the slope of the tangent line at (x1,y1) and m=dydx|x=x1.

**Calculation:**

For x>0*,*|x|=x and f(x)=x2−x2.

The derivative of y is dydx, which is obtained as follows,

dydx=ddx(y)=ddx(|x|2−x2)=ddx(x2−x2)

Apply the quotient rule as shown in equation (2),

dydx=2−x2ddx[x]−xddx[2−x2][2−x2]2

Apply the power rule combined with the chain rule as shown in equation (1),

dydx=2−x2[1x1−1]−xddx(2−x2)12[(2−x2)12]2=2−x2[1]−x12(2−x2)12−1ddx(2−x2)(2−x2)=2−x2−x12(2−x2)1−22(ddx(2)−ddx(x2))(2−x2)=2−x2−x12(2−x2)−12(0−2x2−1)(2−x2)

On further simplification, the derivative of the function becomes,

dydx=2−x2+x2(2−x2)−12(2x)(2−x2)=2−x2+x22−x2(2−x2)=2−x2+x22−x2(2−x2)=22−x2(2−x2)

Therefore, the derivative of y=|x|2−x2 is dydx=22−x2(2−x2)_.

The slope of the tangent line at (1,1) is computed as follows,

m=dydx|x=1=22−(1)2(2−(1)2) =21(1) =2

Thus, the slope of the tangent line is m=2.

Substitute (1,1) for (x1,y1) and 2 for *m* in equation (1),

y−1=2(x−1)y−1=2x−2y=2x−2+1y=2x−1

Therefore, the equation of the tangent line is y=2x−1.

#### To determine

**To sketch:** The graph of the curve and the tangent line.

#### Explanation

**Given:**

The equation of the curve is y=|x|2−x2.

The equation of the tangent line is y=2x−1.

**Graph:**

Use the online graphing calculator to draw the graph of the functions as shown below in Figure 1.

From Figure 1, it is observed that the equation of the tangent line touches on the curve y=|x|2−x2 at the point (1,1).