Calculating the First and Second Derivative of a Twice Differentiable Function

Click For Summary
SUMMARY

The discussion focuses on calculating the first and second derivatives of the function $$\psi (\lambda )=f(\lambda x_1, \lambda x_2)$$, where $f(y_1, y_2)$ is a twice differentiable function. The first derivative is confirmed as $$\psi'(\lambda)=f_{y_1}\cdot x_1+f_{y_2}\cdot x_2$$. The second derivative is derived as $$\psi''(\lambda)=f_{y_1y_1}\cdot x_1^2+2f_{y_1y_2}\cdot x_1\cdot x_2+f_{y_2y_2}\cdot x_2^2$$. The calculations are validated by multiple participants in the discussion.

PREREQUISITES
  • Understanding of multivariable calculus
  • Familiarity with partial derivatives
  • Knowledge of the chain rule in differentiation
  • Concept of twice differentiable functions
NEXT STEPS
  • Study the application of the chain rule in multivariable calculus
  • Explore the properties of twice differentiable functions
  • Learn about Hessian matrices and their role in second derivatives
  • Investigate practical applications of derivatives in optimization problems
USEFUL FOR

Students and professionals in mathematics, particularly those studying calculus, as well as researchers working on optimization and mathematical modeling.

mathmari
Gold Member
MHB
Messages
4,984
Reaction score
7
Hey! :o

I want to find the first and second derivative of the function $$\psi (\lambda )=f(\lambda x_1, \lambda x_2)$$ where $f(y_1, y_2)$ is twice differentiable and $(x_1, x_2)$ is arbitrary for fix.

I have done the following:
$$f(g(\lambda), h(\lambda)) : \\ \frac{\partial{f}}{\partial{\lambda}}=f_{y_1}\cdot g'(\lambda)+f_{y_2}\cdot h'(\lambda)=f_{y_1}\cdot x_1+f_{y_2}\cdot x_2$$
So, $\psi'(\lambda)=f_{y_1}\cdot x_1+f_{y_2}\cdot x_2$.

Is this correct? (Wondering)
Is the second derivative then the following:
\begin{align*}\frac{\partial^2{f}}{\partial{\lambda^2}}&=\left (f_{y_1y_1}\cdot g'(\lambda)+f_{y_1y_2}\cdot h'(\lambda)\right )\cdot x_1+\left (f_{y_2y_1}\cdot g'(\lambda)+f_{y_2y_2}\cdot h'(\lambda)\right )\cdot x_2 \\ & =\left (f_{y_1y_1}\cdot x_1+f_{y_1y_2}\cdot x_2\right )\cdot x_1+\left (f_{y_2y_1}\cdot x_1+f_{y_2y_2}\cdot x_2\right )\cdot x_2 \\ & =f_{y_1y_1}\cdot x_1^2+f_{y_1y_2}\cdot x_1\cdot x_2+f_{y_2y_1}\cdot x_1\cdot x_2+f_{y_2y_2}\cdot x_2^2 \\ & =f_{y_1y_1}\cdot x_1^2+2f_{y_1y_2}\cdot x_1\cdot x_2+f_{y_2y_2}\cdot x_2^2\end{align*}
? (Wondering)

So, $\psi''(\lambda)=f_{y_1y_1}\cdot x_1^2+2f_{y_1y_2}\cdot x_1\cdot x_2+f_{y_2y_2}\cdot x_2^2$.

Is this correct? (Wondering)
 
Physics news on Phys.org
Looks all correct to me. (Nod)
 
I like Serena said:
Looks all correct to me. (Nod)

Great! Thank you! (Smile)
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
Replies
1
Views
3K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K