MWE:
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{calc,intersections,through,backgrounds,matrix,patterns}
\begin{document}
\begin{tikzpicture}
\draw[<->] (0,8)--(0,0)--(8,0);
\draw[name path = A] (0,0) ..controls (3,8) and (4,8) .. (7,0) node[above right]{$A$};
\draw[name path = B] (0,2)--(7,5) node[right]{$B$};
\path [name intersections={of=A and B, by = {I1,I2}}];
\draw[dashed] let \p1 = (I1) in (\x1,0) node[below]{$k^*$} --(\x1,\y1)--(0,\y1);
\end{tikzpicture}
\end{document}
If you compile this second, you will notice that there are two intersections between A and B which I have specified thanks to @marmot's answer here.
I'd like to know if there's a way I can use the x and y-components of both intersections in the \draw command beneath the \path command.
For instance, something like this (my own creation - it doesn't work):
\draw[dashed] let {\p1,\p2} = {(I1),(I2)} in (\x1,0) node[below]{$k^*$} --(\x1,\y2)--(0,\y2);

calcfor that:\draw (I1-|O) -- (I1|-I2)-- (O|-I2);along with\coordinate (O) at (0,0). That is, you can mixxandycomponents of coordinates withoutcalc. – Oct 17 '18 at 16:53