Questions tagged [graphing-functions]

For questions regarding the plotting or graphing of functions. For questions about the kinds of graphs with vertices and edges, use the (graph-theory) tag instead.

Given a real-valued function $f\colon \mathbf{R} \to \mathbf{R}$, the graph of $f$ is the set of all input-output pairs $(x,f(x))$ regarded as a set of points in the plane $\mathbf{R} \times \mathbf{R}$. Considering the graph of a function gives us a geometric perspective on the data that the function represents.

  • If the function $f$ is continuous, the graph of $f$ "looks continuous." That is, there are no gaps, and the graph is a connected curve.

  • If the function $f$ is differentiable, then it will contain no "sharp corners."

  • If we're thinking of the domain of the function as representing time, the the graph gives us a nice visualization of the change in outputs of the function over time.

A graph can be defined much more generally though. Let $\mathbf{k}$ be a local field, and suppose $f$ is a vector-valued function $f\colon \mathbf{k}^n \to \mathbf{k}^m$ where $f(x_1, \dotsc, x_n) = (y_1, \dotsc, y_m)$ and each coordinate $y_i$ of the output is a function of the $x_1, \dotsc, x_n$. In this setting, the graph of $f$ is the set of points

$$(x_1, \dotsc, x_n, y_1, \dotsc, y_m) \subset \mathbf{k}^{n+m}\,.$$

This general construction of the graph of a function can be useful in the study of algebraic geometry or the study of manifolds.

5041 questions
1
vote
4 answers

Better method for graphing functions with greater complexity

I spent perhaps 30 mins graphing the following function. $$y = \frac{1}{|{2x-x^2}|} + \frac{1}{|{2x+x^2}|}$$ I proceeded by first graphing the first half of the function $y = \frac{1}{|{2x-x^2}|}$. Then I graphed the second part of the function…
esc1234
  • 131
  • 1
  • 11
1
vote
1 answer

Logarithmic function that outputs [0.25, 1] when $x$ is [1,$n$]

I'm looking for a formula that produces a logarithmic curve that meets the following conditions: Given a set of positive integers from 1 to $n$, produce a logarithmic function that outputs a $y$ value of 0.25 when $x$ = 1 and the a $y$ value of 1…
Joe
  • 11
1
vote
2 answers

Graph of $|x|=x$

I typed the equation $|x|=x$ on varius graphing calculators waiting to see the part of the plane where $x\ge0$. I thought that because for every point $A(x,y)$ with $x\ge0$ the above equation is true. Instead only the y'y axis is displayed(as if the…
John
  • 91
1
vote
0 answers

Animate 2D,3D surfaces. R.

You can easily create 3D surfaces in MatLab, Maxima, Maple, symbolic calculus programs or software. In these programs you can also create animations, and see them while they're generating, of 2D or 3D surfaces using different libraries as plots in…
1
vote
1 answer

Using the floor function to define a periodic function

Is it possible to define the function defined in the following image using the floor function? If so, how? Update I tried your suggestion with Matlab's symbolic toolbox, syms x clear clear f f(x)=abs(x-2*floor(x/2)); fplot(f(x),[0,8]) but I got…
David
  • 2,262
1
vote
0 answers

Changing the scale/span of y axis in a time domain plot

I have a set of x,y pairs, where x is always the time, and y can be anything, with any set of values. Due to user interface/graphic constrains the x axis is longer (in pixels) than the y axis, hence x values span on 400px and in y axis values span…
1
vote
1 answer

How to draw the function $f(x)=(x^2(e^x-1))^{\frac{1}{5}}$?

I would like to draw the following function: $f(x)=(x^2(e^x-1))^{\frac{1}{5}}$ I can draw the function $x^\frac{1}{5}$ pretty easily, but now I'm struggling to represent the function as a whole.
Kevin
  • 568
1
vote
1 answer

How to find the function rule from a table?

I was trying to graph (1, 1)(2, 2)(3, 4)(4, 8)(5, 16)(6, 32)(7, 64)(8, 128)(9, 256)(10, 512) and I just couldn't do it. Does anyone know what the function rule of this is and how to find it in similar problems in the future?
1
vote
2 answers

Shifting the graph of a function

I have a conceptual problem. If the graph of a function $f(x)$ has to be horizontally shifted to the right by $a$ units, then the new graph is $f(x-a)$. However, if the graph has to be reflected about a vertical line, e.g. $x=3$, then the graph…
1
vote
1 answer

How to find the real roots of an equation without f(x)

So I have an equation of a graph, $x^4=x^2-\frac{x} {2}+\frac{1}{16}$. I need to find the number of real roots of said equation using an algebraic method. The thing is, I have no clue how to do this as there is no way I know to get $f(x)$ here. I…
BlueCP
  • 13
1
vote
1 answer

Finding of roots for the given equation

The equation $$|\ln (mx)|=px$$ Where m is a positive constant has exactly two roots for $(A) p=\frac{m} {e} $ $(B) p=\frac{e} {m} $ $(C) \frac{e} {m} \geqslant p >0$ $(D) \frac{m} {e} \geqslant p>0$ My attempt: Drew the graph for $|\ln(mx)|$ and…
jayant98
  • 1,108
1
vote
0 answers

Dynamically updating density graphs with values from slider in MATLAB

I have two complex data matrices $A,B$. I can combine them using functions $f(A,B,x,y),g(A,B,x,y)$. For simplicity, say my functions are $f(A,B,x,y)=xA+yB$ and $g(A,B,x,y)=xA-yB$. I would like to graph the functions $|f(A,B,x,y)|$,…
Rain
  • 125
1
vote
2 answers

Express functions more simply using abs()?

I have 2 functions (the BLUE and RED functions defined from 0 to 4) that I think can be expressed more simply using the Math.abs() function. But I can't do it, I hope you can. Here are the functions in javascript: plot1(function(x) { // the BLUE…
dcromley
  • 140
  • 6
1
vote
1 answer

Why is $r=\sin (\theta)$ graphing differently than $x^2+y^2=y$?

I do most of my graphing using Desmos, and also use graphing as a visual check for some of the math that I'm a little more wary of when I don't have access to someone to double check my work. I was doing something when I noticed a discrepancy which…
1
vote
3 answers

Show that the area ,A,of the rectangle PQRS is given by $2p(16-p^2)$

Show that the area ,A,of the rectangle PQRS is given by $2p(16-p^2)$ For question 10a) I am having trouble finding the $p^2$ I understand the 2p and is able to find the 16 using dy dx=0 Please help (https://i.stack.imgur.com/GemEv.jpg)
bryan
  • 147
  • 1
  • 8