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
0
votes
1 answer

What does this function look like?

I'm having a hard time visualizing this function: $$f(x) = \min_{\alpha_1,\alpha_2,\alpha_3\in[0,1]}\{\alpha_1x, \alpha_2x,\alpha_3x\}$$ such that $\alpha_1+\alpha_2+\alpha_3=1$.
jonem
  • 383
0
votes
1 answer

Conditions for intersection of two lines

I came across a STEP III($2010, Q5$) problem which involves finding the point of intersection between the curve with the equation $$n(m-1)x+m(n-1)y=amn \tag{1}$$ and $$mx+ny=amn \tag{2}$$ where $m$ and $n$ are real constants that satisfy $$0
0
votes
3 answers

How do you merge the two functions (32-x)/4=y and (48-x)/2=y into one?

There are two functions: $\frac{32-x}4=y$ and $\frac{48-x}2=y$ For instance, if the two $x$s are $18$ and $24$, the two $y$s will be $3.5$ and $12$. I would like to add the two $x$s and two $y$s: $18+24=42$, $3.5+12=15.5$. How can I merge the two…
0
votes
0 answers

the effect of Taking the square root of a data set of x values to give a linear line

I wanted to ask a question about manipulating the data set of x-values to give a linear plot. I was studying a reaction as part of a chemical reaction and asked to plot conductivity over time. Some sample data is shown below. The x-values of the…
vik1245
  • 893
0
votes
0 answers

What is the name of the function that results in a graphic that slowly rises and suddenly spikes up?

I'm looking for a proper word or words that would describe a function that would start at zero, gradually climb toward one and then abruptly curve into the infinity. Like on the attached graph?
0
votes
1 answer

Radioactive decay

When we plot the amount of radioactive nuclei at certain time intervals, we get a plot like this: First of all, what kind of function is this? To me it looks like $y=(e^x)^{-1}$ or $y=(\log x)^{-1} $ (the part in the first quadrant of…
Ylyk Coitus
  • 970
  • 2
  • 10
  • 18
0
votes
0 answers

Why does this graph doesn’t not show values of y in negative value of x in y=x^(1/n] wheee n is varied

So I plotted the graph of y=x^(1/n) where n was varied and I notice that for some values of n like 4.4 , -0.8 left arm of graph was not there I.e. no values of y for negative x . I didn’t understand this . Please explain .
0
votes
2 answers

plotting Jacobian elliptic function

How can I plot bellow function in MATHEMATICA, MATLAB, or MAPLE? Here $cn$ is the Jacobi elliptic function: $$ f(x)=0.7951556995+0.0048443005cn^2(0.4831042546x,0.1118800243)$$
0
votes
1 answer

How to show $f$ is one one and onto by the concept of graph.

Let $f :\mathbb R \to \mathbb R$ be a function. Then Show that $f$ is one one if the graph of $f$ intersects any line parallel to the $X$ - axis in at most one point. Show that $f$ is onto if the graph of $f$ intersects every line parallel to the…
Baljeet
  • 103
0
votes
0 answers

Show a number of line segments for single variable

Suppose the following line segments: 2
nkormanik
  • 161
0
votes
1 answer

How can you draw images with functions?

I have seen the batman curve before (asked about here: Is this Batman equation for real?), but this method seems fairly limited in what you can draw. What are some other ways that you can draw shapes and images throught equations?
Caleb Briggs
  • 1,083
0
votes
0 answers

Plot a piecewise function

Just out of curiosity, I want to plot $f(x) = 2x$, if $x∈\mathbf{Q}, -5x$ otherwise. Does anyone know of an online plotter that can show this? Alternatively, MATLAB code would be acceptable as well.
user600210
0
votes
3 answers

Why are there $3$ solutions to $x^a = a^x$?

Consider the equation, $x^a = a^x$. If a is of the form $1.6 + 0.4k$, where $k$ is a natural number, then the equation has $3$ solutions. I checked them until $k = 1000$, but was unable to find a reason for this. Is there any plausible explanation…
John Paul
  • 297
0
votes
2 answers

Fitting an activation function with tanh

I'm trying to fit an activation function with tanh via: F = aa3 + aa2 * np.tanh(aa0 * x + aa1) However, the original data (blue) is peculiar in that it needs an asymmetric curvature which the fit (red) is unable to grasp - sharp at the base and…
ees
  • 103
0
votes
0 answers

How to draw a specific graph on Cartesian plane with LaTeX, without the equation?

Say I am given this graph here that I want to replicate on LaTeX. There is no equation given. What is the fastest way of doing it? I am at beginner level when it comes to Tikz, but I don't mind learning other method too. Note: this picture is on a…