Plotting Vector and Derivative: A Frustrating Challenge

Click For Summary
SUMMARY

This discussion focuses on plotting a vector and its derivative using Mathematica. The user defined the vector functions a[t], b[t], and c[t] and attempted to use ParametricPlot3D to visualize them. The correct approach involves first plotting the vector V[t] over the range from -π/2 to π/2, and then separately plotting the derivative at the specific point V'[π/4]. The user is advised to combine these plots using the methods outlined in the Wolfram documentation.

PREREQUISITES
  • Understanding of Mathematica syntax and functions
  • Familiarity with vector calculus concepts
  • Knowledge of 3D plotting techniques in Mathematica
  • Ability to differentiate functions in Mathematica
NEXT STEPS
  • Learn how to use ParametricPlot3D in Mathematica for 3D vector visualization
  • Study the differentiation of functions in Mathematica to plot derivatives
  • Explore the Wolfram documentation on combining graphics using CombineTwoOrMoreGraphics
  • Investigate the use of PlotRange and PlotStyle options in Mathematica for better visualization
USEFUL FOR

Mathematica users, students in vector calculus, and anyone interested in 3D plotting and visualization of mathematical functions.

dpeagler
Messages
32
Reaction score
0
I have been trying to plot a vector and it's derivative for a while now, but I cannot figure out why I can't get them to plot.

Here is what I put for my code...

a[t_] := Sin[t] Cos[2 t]
b[t_] := Sin[t] Sin[2 t]
c[t_] := Cos[t]
V[t_] := {a, b, c}

I tried this...

ParametricPlot[{a[t], b[t], c[t]}, {a'[t], b'[t], c'[t]}, {t, -\[Pi]/2, \[Pi]/2}, {t, \[Pi]/4}]

and this...

ParametricPlot[{V[t]},{V'[\[Pi]/4]},{{t, -\[Pi]/2, \[Pi]/2}

The function is seen as V[t]. I want to graph it from -Pi/2 to Pi/2 and I want to have V'[Pi/4] on the same graph. And then I want to have two different images.

I know that's a lot, but I'm sure it's something really simple that I'm missing. Thanks to anyone who can give any advice.
 
Physics news on Phys.org
See if you can just plot the vector first.

a[t_] := Sin[t] Cos[2 t];
b[t_] := Sin[t] Sin[2 t];
c[t_] := Cos[t];
V[t_] := {a[t], b[t], c[t]};
ParametricPlot3D[V[t], {t, -Pi/2, Pi/2}]

If that works then compare what I did with what you did and figure out the differences.

After that see if you can just plot the derivative

ParametricPlot3D[{a'[t], b'[t], c'[t]}, {t, -Pi/2, Pi/2}]

After that perhaps you can start thinking about combining the two
 
Thanks for the response. The only thing I am confused about is why you are plotting the derivative over the same range. It is only supposed to be at the point Pi/4
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 4 ·
Replies
4
Views
4K