Problem 38
Question
Find the linear approximation to the given functions at the specified points. Plot the function and its linear approximation over the indicated interval. $$ g(x)=x^{2} \cos x \text { at } a=\pi / 2,[0, \pi] $$
Step-by-Step Solution
Verified Answer
The linear approximation at \( a = \pi/2 \) is \( L(x) = -\frac{\pi^2}{4}(x - \frac{\pi}{2}) \).
1Step 1: Understand Linear Approximation
Linear approximation of a function at a given point is based on the equation of the tangent line at that point. The formula is given by \( L(x) = f(a) + f'(a)(x - a) \), where \( f(a) \) is the value of the function at \( a \) and \( f'(a) \) is the derivative evaluated at \( a \).
2Step 2: Calculate the Function Value at \( a \)
Evaluate the function \( g(x) = x^2 \cos x \) at \( a = \pi/2 \).\[g(\pi/2) = \left(\frac{\pi}{2}\right)^2 \cos\left(\frac{\pi}{2}\right) = \frac{\pi^2}{4} \times 0 = 0.\]
3Step 3: Derive the Function
Find the derivative of \( g(x) = x^2 \cos x \) using the product rule: \( (uv)' = u'v + uv' \).\[g'(x) = (2x) \cos x + x^2(-\sin x) \]\[g'(x) = 2x \cos x - x^2 \sin x.\]
4Step 4: Calculate the Derivative at \( a \)
Evaluate the derivative \( g'(x) \) at \( a = \pi/2 \).\[g'(\pi/2) = 2\left(\frac{\pi}{2}\right) \cos\left(\frac{\pi}{2}\right) - \left( \frac{\pi}{2} \right)^2 \sin\left(\frac{\pi}{2}\right) = 0 - \frac{\pi^2}{4}\times 1 = -\frac{\pi^2}{4}.\]
5Step 5: Write the Linear Approximation
Substitute into the linear approximation formula:\[L(x) = 0 + \left(-\frac{\pi^2}{4}\right)(x - \frac{\pi}{2}) = -\frac{\pi^2}{4}(x - \frac{\pi}{2}).\]
6Step 6: Plot the Function and Linear Approximation
Graph the function \( g(x) = x^2 \cos x \) and the linear approximation \( L(x) = -\frac{\pi^2}{4}(x - \frac{\pi}{2}) \) over the interval \([0, \pi]\). The linear approximation should closely match the function around \( a = \pi/2 \).
Key Concepts
Tangent LineProduct RuleDerivative EvaluationPlotting Functions
Tangent Line
A tangent line to a function at a certain point is the straight line that just "touches" the function at that point, matching both its value and direction. This line gives the best linear approximation of the function near that point. For the function \( g(x) = x^2 \cos x \) at the point \( a = \pi/2 \), the tangent line is computed using the derivatives, as it indicates the slope or steepness at that specific point.
- The formula for the tangent line is \( L(x) = f(a) + f'(a)(x - a) \).
- In this exercise, \( L(x) = 0 + \left(-\frac{\pi^2}{4}\right)(x - \frac{\pi}{2}) \).
- Thus, the tangent line equation simplifies to \( -\frac{\pi^2}{4}(x - \frac{\pi}{2}) \).
Product Rule
The product rule is essential when finding derivatives of products of two functions. For two differentiable functions \( u(x) \) and \( v(x) \), the derivative of their product \( uv \) is given by:
- The formula: \( (uv)' = u'v + uv' \).
- Applied to our exercise: For \( g(x) = x^2 \cos x \), consider \( u(x) = x^2 \) and \( v(x) = \cos x \).
- The derivative: \( u'(x) = 2x \) and \( v'(x) = -\sin x \).
- Thus, \( g'(x) = 2x \cos x + x^2(-\sin x) \), which further simplifies to \( 2x \cos x - x^2 \sin x \).
Derivative Evaluation
Evaluating a derivative at a specific point allows us to determine the slope of the tangent line to a function at that point. Once we have derived the function using appropriate rules, like the product rule, the next step is to substitute the point of interest into the derivative equation.
- For our function \( g'(x) = 2x \cos x - x^2 \sin x \), we evaluate at \( a = \pi/2 \).
- The value, \( g'(\pi/2) = 0 - \frac{\pi^2}{4} \times 1 = -\frac{\pi^2}{4} \).
Plotting Functions
Plotting functions allows us to visually compare the original function and its linear approximation. This graphical method is particularly useful to understand how well the linear approximation aligns with the function near the chosen point.
- The function \( g(x) = x^2 \cos x \) should be plotted over \([0, \pi]\).
- The linear approximation \( L(x) = -\frac{\pi^2}{4}(x - \frac{\pi}{2}) \) should also be plotted within the same interval.
Other exercises in this chapter
Problem 37
An object moves along a horizontal coordinate line in such a way that its position at time \(t\) is specified by \(s=t^{3}-3 t^{2}-24 t-6 .\) Here \(s\) is meas
View solution Problem 37
Apply the Chain Rule more than once to find the indicated derivative. \(D_{\theta}\left[\cos ^{4}\left(\sin \theta^{2}\right)\right]\)
View solution Problem 38
Call the graph of \(y=b-a \cosh (x / a)\) an inverted catenary and imagine it to be an arch sitting on the \(x\) -axis. Show that if the width of this arch alon
View solution Problem 38
$$ \underline{\phantom{xxx}} , \text { find the indicated derivative. } $$ $$ \frac{d y}{d x} \text { if } e^{x+y}=4+x+y $$
View solution